if (!jsx3.lang.Class.forName("ux.cdb.admin.customer.cusBuilder.ConfirmOper")) {
/**
 * Define the <code>tibco.spm.design.rule.builder.Builder</code> class.
 * This class inherit from <code>jsx3.gui.Dialog<code> GUI class.
 */
jsx3.Class.defineClass(
		"ux.cdb.admin.customer.cusBuilder.ConfirmOper",
		jsx3.gui.Dialog,
		null,
		function (objRoot) {
			/**
			 * This method will be called after UI file has deserialized.
			 */
			objRoot.prototype.onAfterDeserialize = function() {
				//this.wizard = this.get("steppedWizard");
			}
			
			objRoot.prototype.onClose = function() {
				this.doClose();
			}
			
			objRoot.prototype.onCancel = function() {
				this.onClose();
			}
			
			objRoot.prototype.onAddStudent = function() {
				this.onClose();
				var parent = ux.megatron.Main.getServer().getBodyBlock();
                var customer = parent.getDescendantOfName("blkWorld");
                customer.onNewCustomer();
			}
			
			objRoot.prototype.onAddLoan = function() {
				this.onClose();
				var mainPane = ux.megatron.Main.getServer().getBodyBlock();
		        mainPane.Operation = 'Insert';
		        var me = this;
		        ux.megatron.Main.loadUIResourceAsync(mainPane,"ux.cdb.admin","ux/cdb/admin/loan/loanWizard/ui/loanBuilderDailog.xml",me,me.onAddLoanWizardLoaded);
			}
			
			objRoot.prototype.onAddLoanWizardLoaded = function (objEvent) {
				var obj = objEvent.obj;
				obj.comeFrom = 'customer';
				obj.studentName = this.stuInfo.studentId;
				obj.studentId = this.stuInfo.studentId;
				obj.studentCertId = this.stuInfo.studentCertId;
				
				obj.Operation = 'Insert';
        		var strTitle = ux.megatron.Main.getServer().getDynamicProperty("@cdb@LoanManage@Wizard@MainWizardAddTitle");
        		objEvent.obj.get('labTitle').setText(strTitle, true);
			}
			
		});
}